#ifndef __XKK_SOCKET_H__
#define __XKK_SOCKET_H__

namespace xkk
{

class Socket
{
public:
    Socket();
    explicit
        Socket(int fd);
    ~Socket();

    int fd() const{ return _fd; }
    void shutdownWrite();

private:
    int _fd;
};

}//end of namespace xkk
#endif
